Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android release that generates a .aab file #206

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

metal3d
Copy link
Contributor

@metal3d metal3d commented Sep 2, 2023

Description:

Creating Android release generates a .aab file. The Build() function was working with *.apk files only. So the AAB file was not copied and triggered a SELinux error. The copy sh command also failed.

This commit fixes the problem by changing the pattern to match on copy, and the package name using ".aab" suffix.

NOTE: it could be better to use filepath.Glob() to find files and use os.Rename() instead.

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Creating Android release generates a .aab file. The Build() function was
working with *.apk files only. So the AAB file was not copied and
triggered a SELinux error. The copy sh command failed also.

This commit fixes the problem by changing the pattern to match on copy,
and the package name using ".aab" suffix.

NOTE: it could be better to use filepath.Glob() to find files and use
os.Rename() instead.
Copy link
Member

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh thanks for catching this

@andydotxyz
Copy link
Member

The failing tests indicate we'll need to update the tested versions to match Fyne...

@Bluebugs
Copy link
Contributor

Bluebugs commented Sep 6, 2023

Yes, this require an image release with latest Fyne.

@Bluebugs
Copy link
Contributor

Do you mind synchronizing this with latest fyne-cross develop? I think it should be good to merge after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants